package com.ruoyi.common.pojo;

/**
 * Created by stephen.zhang on 15/8/12.
 */
public class AfareFlight {
    /**
     * 起飞时间 9C必填
     */
    private String dptTime;
    /**
     * 到达时间 9C必填
     */
    private String arrTime;
    /**
     * 航司二字码
     */
    private String carrier;
    /**
     * 航班号
     */
    private String code;
    /**
     * 票面价 9C必填
     */
    private Float printPrice;
    /**
     * Y仓价格 9C必填
     */
    private Float cabinYPrice;
    /**
     * F仓价格 9C为空
     */
    private Float cabinFPrice;
    /**
     * C仓价格 9C为空
     */
    private Float cabinCPrice;
    /**
     * 仓位名称
     */
    private String saleCabinCode;
    /**
     * cpc销售价
     */
    private Float cpcSalePrice;
    /**
     * cpc销售价
     */
    private Float cpaSalePrice;

    /**
     * 年龄限制，格式10-20
     */
    private String ageLimit;

    /**
     * 模糊航班为1，默认为0
     */
    private Integer cpaType;

    /**
     * 是否餐食 9C必填
     */
    private Boolean meal;
    /**
     * 机型 9C必填
     */
    private String planeType;
    /**
     * 经停次数 9C必填
     */
    private Integer stops;
    /**
     * 共享航班 9C必填(已经去掉必填、有些航班没有共享航班)
     */
    private String codeShare;

    /**
     * 剩余座位数 9C必填
     */
    private String seatsForSale;

    /**
     * cpc退票规则
     */
    private String cpaRefundRule;
    /**
     * cpc改签规则
     */
    private String cpaChangeRule;
    /**
     * cpc是否签转
     */
    private Boolean cpaAllowChange;

    /**
     * cpc退票规则
     */
    private String cpcRefundRule;
    /**
     * cpc改签规则
     */
    private String cpcChangeRule;
    /**
     * cpc是否签转
     */
    private Boolean cpcAllowChange;

    /**
     * 针对航班 是否可售卖儿童
     */
    private Boolean childTicket;

    public String getDptTime() {
        return dptTime;
    }

    public void setDptTime(String dptTime) {
        this.dptTime = dptTime;
    }

    public String getArrTime() {
        return arrTime;
    }

    public void setArrTime(String arrTime) {
        this.arrTime = arrTime;
    }

    public String getCarrier() {
        return carrier;
    }

    public void setCarrier(String carrier) {
        this.carrier = carrier;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Float getPrintPrice() {
        return printPrice;
    }

    public void setPrintPrice(Float printPrice) {
        this.printPrice = printPrice;
    }

    public Float getCabinYPrice() {
        return cabinYPrice;
    }

    public void setCabinYPrice(Float cabinYPrice) {
        this.cabinYPrice = cabinYPrice;
    }

    public Float getCabinFPrice() {
        return cabinFPrice;
    }

    public void setCabinFPrice(Float cabinFPrice) {
        this.cabinFPrice = cabinFPrice;
    }

    public Float getCabinCPrice() {
        return cabinCPrice;
    }

    public void setCabinCPrice(Float cabinCPrice) {
        this.cabinCPrice = cabinCPrice;
    }

    public String getSaleCabinCode() {
        return saleCabinCode;
    }

    public void setSaleCabinCode(String saleCabinCode) {
        this.saleCabinCode = saleCabinCode;
    }

    public Float getCpcSalePrice() {
        return cpcSalePrice;
    }

    public void setCpcSalePrice(Float cpcSalePrice) {
        this.cpcSalePrice = cpcSalePrice;
    }

    public Float getCpaSalePrice() {
        return cpaSalePrice;
    }

    public void setCpaSalePrice(Float cpaSalePrice) {
        this.cpaSalePrice = cpaSalePrice;
    }

    public String getAgeLimit() {
        return ageLimit;
    }

    public void setAgeLimit(String ageLimit) {
        this.ageLimit = ageLimit;
    }

    public Integer getCpaType() {
        return cpaType;
    }

    public void setCpaType(Integer cpaType) {
        this.cpaType = cpaType;
    }

    public Boolean getMeal() {
        return meal;
    }

    public void setMeal(Boolean meal) {
        this.meal = meal;
    }

    public String getPlaneType() {
        return planeType;
    }

    public void setPlaneType(String planeType) {
        this.planeType = planeType;
    }

    public Integer getStops() {
        return stops;
    }

    public void setStops(Integer stops) {
        this.stops = stops;
    }

    public String getCodeShare() {
        return codeShare;
    }

    public void setCodeShare(String codeShare) {
        this.codeShare = codeShare;
    }

    public String getSeatsForSale() {
        return seatsForSale;
    }

    public void setSeatsForSale(String seatsForSale) {
        this.seatsForSale = seatsForSale;
    }

    public String getCpaRefundRule() {
        return cpaRefundRule;
    }

    public void setCpaRefundRule(String cpaRefundRule) {
        this.cpaRefundRule = cpaRefundRule;
    }

    public String getCpaChangeRule() {
        return cpaChangeRule;
    }

    public void setCpaChangeRule(String cpaChangeRule) {
        this.cpaChangeRule = cpaChangeRule;
    }

    public Boolean getCpaAllowChange() {
        return cpaAllowChange;
    }

    public void setCpaAllowChange(Boolean cpaAllowChange) {
        this.cpaAllowChange = cpaAllowChange;
    }

    public String getCpcRefundRule() {
        return cpcRefundRule;
    }

    public void setCpcRefundRule(String cpcRefundRule) {
        this.cpcRefundRule = cpcRefundRule;
    }

    public String getCpcChangeRule() {
        return cpcChangeRule;
    }

    public void setCpcChangeRule(String cpcChangeRule) {
        this.cpcChangeRule = cpcChangeRule;
    }

    public Boolean getCpcAllowChange() {
        return cpcAllowChange;
    }

    public void setCpcAllowChange(Boolean cpcAllowChange) {
        this.cpcAllowChange = cpcAllowChange;
    }

    public Boolean getChildTicket() {
        return childTicket;
    }

    public void setChildTicket(Boolean childTicket) {
        this.childTicket = childTicket;
    }

    @Override
    public String toString() {
        return "AfareFlight{" +
                "dptTime='" + dptTime + '\'' +
                ", arrTime='" + arrTime + '\'' +
                ", carrier='" + carrier + '\'' +
                ", code='" + code + '\'' +
                ", printPrice=" + printPrice +
                ", cabinYPrice=" + cabinYPrice +
                ", cabinFPrice=" + cabinFPrice +
                ", cabinCPrice=" + cabinCPrice +
                ", saleCabinCode='" + saleCabinCode + '\'' +
                ", cpcSalePrice=" + cpcSalePrice +
                ", cpaSalePrice=" + cpaSalePrice +
                ", ageLimit='" + ageLimit + '\'' +
                ", cpaType=" + cpaType +
                ", meal=" + meal +
                ", planeType='" + planeType + '\'' +
                ", stops=" + stops +
                ", codeShare='" + codeShare + '\'' +
                ", seatsForSale='" + seatsForSale + '\'' +
                ", cpaRefundRule='" + cpaRefundRule + '\'' +
                ", cpaChangeRule='" + cpaChangeRule + '\'' +
                ", cpaAllowChange=" + cpaAllowChange +
                ", cpcRefundRule='" + cpcRefundRule + '\'' +
                ", cpcChangeRule='" + cpcChangeRule + '\'' +
                ", cpcAllowChange=" + cpcAllowChange +
                ", childTicket=" + childTicket +
                '}';
    }
}
